@import url("base.css");
@import url("normalize.css");
@media (min-width: 1200px) {
  /* .box {
        padding: 0 10%;
    } */
  .center {
    width: 1200px;
  }
}
body {
  background-color: #f6f6f6;
}
/**** 默认衣册汇样式（暗黑）*/
/* 盒子样式设置 */
.box {
  font-family: 'WenQuanYi Micro Hei';
  background-color: #F6F6F6;
  width: 100%;
}
.center {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 3.6px;
}
.center .show_content {
  display: none;
  height: 24px;
  width: 24px;
  padding: 0 3.6px;
}
.adver::before {
  content: 'ADVERTISEMENT';
  width: 100%;
  display: block;
  text-align: center;
  height: 15px;
  font-size: 12px;
}
/**** */
/* 头部样式设置 */
.header {
  width: 100%;
  background-color: #fff;
  color: #268ff8;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 6px 0;
  z-index: 999;
  border-bottom: 1px solid #ede6;
}
.header .center {
  height: 100%;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.header .center .left {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.header .center .left img.Icon {
  height: 24px;
  margin-right: 12px;
}
.header .center .left ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header .center .left ul li {
  padding: 12px 15.6px;
  font-size: 16px;
  position: relative;
  box-sizing: border-box;
}
.header .center .left ul li .line {
  display: none;
  height: 4px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #268ff8;
  border-radius: 4px;
}
.header .center .left ul li:hover {
  background-color: #F6F6F6;
}
.header .center .left ul li:hover .line {
  display: block;
}
.header .center .right .login {
  margin-left: 30px;
}
.header .center .search {
  height: 2.3rem;
  width: 100%;
  position: relative;
  display: none;
  margin: 12px 33.3%;
  border-radius: 10px;
}
.header .center .search input[type="search"] {
  background-color: #FFF;
  padding: 0;
  outline: none;
  border: none;
  width: 100%;
  height: 28px;
  line-height: 28px;
  font-size: 0.7rem;
  border-radius: 15px;
  color: #000;
  padding-left: 0.8rem;
  border: 1px solid #FF7C59;
  box-sizing: border-box;
}
.header .center .search button {
  position: absolute;
  right: 20px;
  top: 8px;
  height: 12px;
  width: 12px;
  border: none;
  border-radius: 10px;
  color: #FF0000;
  background-color: rgba(0, 0, 0, 0);
}
.header_bottom {
  height: 30px;
  width: 100%;
  background-color: #fff;
}
/**** */
/* 底部样式设置 */
.bottom {
  padding: 48px 0 24px;
  width: 100%;
  font-size: 12px;
  font-family: 'WenQuanYi Micro Hei';
  background-color: #FFF;
}
.bottom .center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bottom .center .top {
  display: flex;
  justify-content: center;
  border-top: 1px solid #E5E5E5;
  padding: 12px 0;
  font-size: 16px;
  flex-wrap: wrap;
}
.bottom .center .top a {
  display: flex;
  flex-wrap: nowrap !important;
  color: #268ff8;
}
.bottom .center .top a::after {
  content: '|';
  padding: 0 9.6px;
  color: #268ff8;
}
.bottom .center .top a:last-child::after {
  content: '';
}
.bottom .center .bot {
  display: flex;
  justify-content: center;
  padding: 0 26.4px;
  font-size: 13.8px;
  color: #000;
}
/**** */
/* 主体内容样式 */
.content {
  background-color: #F6F6F6;
}
.content .center {
  flex-direction: column;
}
.content .center .card_one {
  width: 100%;
  margin-top: 36px;
}
.content .center .card_one .card_header {
  margin: 10px 20px;
}
.content .center .card_one .card_header h2 {
  font-size: 30px;
  font-weight: 500;
}
.content .center .card_one .card_list {
  width: 100%;
  padding: 9px 12px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  box-sizing: border-box;
}
.content .center .card_one .card_list > div {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  height: 100%;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.7);
}
.content .center .card_one .card_list > div:hover {
  opacity: 0.5;
}
.content .center .card_one .card_list > div.left {
  left: 0;
}
.content .center .card_one .card_list > div.right {
  right: 0;
}
.content .center .card_one .card_list ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.content .center .card_one .card_list ul::-webkit-scrollbar {
  display: none;
}
.content .center .card_one .card_list ul .card_item {
  min-width: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 5px;
  box-sizing: border-box;
}
.content .center .card_one .card_list ul .card_item img {
  width: 100%;
  max-height: 104px;
  object-fit: cover;
}
.content .center .card_one .card_list ul .card_item p {
  width: 100%;
  font-size: 16px;
  text-align: center;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  text-overflow: ellipsis;
}
.content .center .card_one .card_list ul .card_item:hover {
  transform: scale(1.05);
  transition: transform 0.3s linear;
  border: 1px solid rgba(67, 130, 189);
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 0 12px rgba(12, 96, 175, 0.5);
}
.content .center .zore {
  display: block;
  width: 100%;
  min-height: 100px;
  background-color: #F6F6F6;
  box-sizing: border-box;
}
@media screen and (max-width: 900px) {
  html {
    font-size: 12px;
  }
  .box .center {
    width: 100%;
    box-sizing: border-box;
  }
  .box .header {
    width: 100%;
    padding: 15px 0;
  }
  .box .header .center {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
  }
  .box .header .center .show_content {
    display: block;
  }
  .box .header .center .left {
    box-sizing: border-box;
  }
  .box .header .center .left .header_list {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FAFAFA;
    z-index: 999;
    color: #268ff8;
  }
  .box .header .center .left .header_list li {
    background-color: #FAFAFA;
    border-top: 1px solid #f1efef;
  }
  .box .header .center .left .header_list:hover .line {
    background-color: #fafafa;
  }
  .box .header .center .header_right {
    position: absolute;
    top: 0;
    right: 0;
  }
  .box .content {
    width: 100%;
  }
  .box .content .card_one .card_list {
    box-sizing: border-box;
  }
  .box .content .card_one .card_list > div {
    display: none;
  }
  .box .content .card_one .card_list ul {
    flex-direction: column;
  }
}
/* 登录框样式 */
.modal {
  display: block;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  text-align: center;
  margin: 10% auto;
  padding: 20px 30px;
  padding-bottom: 10px;
  border: 1px solid #888;
  width: 350px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* 分隔线样式 */
}
.modal-content a {
  color: #268ff8;
}
.modal-content h2 {
  padding: 20px 0;
}
.modal-content .divider {
  position: relative;
  text-align: center;
  margin: 15px 0;
}
.modal-content .divider::before,
.modal-content .divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: #ddd;
}
.modal-content .divider::before {
  left: 0;
}
.modal-content .divider::after {
  right: 0;
}
.modal-content .divider span {
  background-color: #fff;
  padding: 0 10px;
  color: #666;
  font-size: 14px;
}
.modal-content .the-check {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}
.modal-content .the-check #check {
  padding: 0;
  margin: 0;
  height: 25px;
  width: 25px;
}
.modal-content .the-check label {
  margin-left: 10px;
  text-align: left;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: black;
}
.form-group {
  margin-bottom: 10px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
}
.form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.login-btn {
  width: 100%;
  padding: 10px;
  background-color: #4267b2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.login-btn:hover {
  background-color: #365899;
}
/* 图片加载相关样式 */
img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* 图片加载占位效果 */
.card_item img,
.card_list .left img,
.card_list .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f5f5f5;
    min-height: 40px;
}

/* 左右控件图片样式 */
.card_list > div img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

/* 图片加载失败样式 */
.img-error {
    position: relative;
    opacity: 0.5;
    filter: grayscale(100%);
    background: #f5f5f5 !important;
}

.img-error::after {
    content: '图片加载失败';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* 优化图片容器样式 */
.card_item,
.card_list .left,
.card_list .right {
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
